package com.health.feignclient;


import com.health.common.entity.CheckGroup;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


import java.util.List;

@FeignClient("CHECKITEMGROUP")
public interface CheckItemAndGroupClient {

    @GetMapping("/checkGroup/getGroup4SetMeal")
    List<CheckGroup> getGroup4SetMeal(@RequestParam("id") Integer id);

    @GetMapping("/checkGroup/getAllGroup")
    List<CheckGroup> getAllCheckGroup4SetMeal();
}
